package cn.edu.gcu.ssl.goods.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.gcu.ssl.goods.dao.WorkerMapper;

@Service
public class WorkerService {

	@Resource
	WorkerMapper workerDao;
	
	@Transactional(readOnly=true)
	public Boolean select(String openid)
	{
		if(workerDao.selectByPrimaryKey(openid)!=null)
		{
			return true;
		}

		
		return false;
	}
	
	
}
